package com.wzy.oa_sys.service.user;

import com.wzy.oa_sys.model.pojo.user.OaUser;
import com.wzy.oa_sys.model.request.user.PasswordReq;
import com.wzy.oa_sys.model.request.user.UserReq;
import com.wzy.oa_sys.model.response.user.UserResp;
import com.wzy.oa_sys.model.response.user.UserRespForTask;

import java.util.List;

public interface UserService {
    List<UserResp> getUserList();

    OaUser getUserById(long id);

    void addUser(UserReq userReq);

    List<UserResp> getUserByDeptId(long deptId);

    List<UserResp> getAdminList();

    int deleteUserById(Integer id);

    UserResp getUserDetialById(Integer id);

    List<UserResp> getNotDeptManagerList();

    List<UserResp> getDeptManagerList();

    List<UserRespForTask> getChargeList();

    void updateUser(UserReq userReq);

    void updateUserPassword(long id);

    void updateMyDetail(UserResp userResp);

    void updatePassword(PasswordReq passwordReq);

    UserResp getFather(Long userId);
}
